<!DOCTYPE html>
{{- partial "docs/shared" -}}
<html>

<head>
  {{ partial "docs/html-head" . }}
  {{ partial "docs/inject/head" . }}
</head>

<body data-rel-permalink="{{ .RelPermalink }}">
  <input type="checkbox" style="display: none" id="menu-control" />
  <main class="main-container">

    <aside class="book-menu fixed">
      {{ partial "docs/menu" . }}
    </aside>

    {{ $showToC := default (default true .Site.Params.BookShowToC) .Params.BookShowToC }}
    {{ partial "docs/page-navigation" . }}
    <div class="book-page {{ if not $showToC }}toc-hidden{{ end }}">
      {{ partial "docs/mobile-header" . }}
      {{ template "search-results" . }}
      {{ template "main" . }}
      {{ partial "docs/git-footer" . }}
    </div>

    {{ template "toc" . }}
  </main>

  {{ partial "docs/inject/body" . }}
</body>

</html>
